package com.ly.heart.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.common.core.domain.AjaxResult;
import com.ly.heart.domain.KingTravelBusinessReimbursementEntity;

/**
 * 差旅费报销单Service接口
 * 
 * @author wutao
 * @date 2024-08-23
 */
public interface IKingTravelBusinessReimbursementService extends IService<KingTravelBusinessReimbursementEntity> {
    /**
     * 查询差旅费报销单
     * 
     * @param id 差旅费报销单ID
     * @return 差旅费报销单
     */
    public KingTravelBusinessReimbursementEntity selectKingTravelBusinessReimbursementEntityById(String id);

    /**
     * 查询差旅费报销单列表
     * 
     * @param kingTravelBusinessReimbursementEntity 差旅费报销单
     * @return 差旅费报销单集合
     */
    public List<KingTravelBusinessReimbursementEntity> selectKingTravelBusinessReimbursementEntityList(KingTravelBusinessReimbursementEntity kingTravelBusinessReimbursementEntity);

    /**
     * 新增差旅费报销单
     * 
     * @param kingTravelBusinessReimbursementEntity 差旅费报销单
     * @return 结果
     */
    public int insertKingTravelBusinessReimbursementEntity(KingTravelBusinessReimbursementEntity kingTravelBusinessReimbursementEntity);

    /**
     * 修改差旅费报销单
     * 
     * @param kingTravelBusinessReimbursementEntity 差旅费报销单
     * @return 结果
     */
    public int updateKingTravelBusinessReimbursementEntity(KingTravelBusinessReimbursementEntity kingTravelBusinessReimbursementEntity);

    /**
     * 批量删除差旅费报销单
     * 
     * @param ids 需要删除的差旅费报销单ID
     * @return 结果
     */
    public int deleteKingTravelBusinessReimbursementEntityByIds(String[] ids);

    /**
     * 删除差旅费报销单信息
     * 
     * @param id 差旅费报销单ID
     * @return 结果
     */
    public int deleteKingTravelBusinessReimbursementEntityById(String id);


    /**
     * 暂存差旅费报销单
     * @param kingTravelBusinessReimbursementEntity
     * @return
     */
    AjaxResult draft(KingTravelBusinessReimbursementEntity kingTravelBusinessReimbursementEntity);

    /**
     * 提交差旅费报销单
     * @param kingTravelBusinessReimbursementEntity
     * @return
     */
    AjaxResult submit(KingTravelBusinessReimbursementEntity kingTravelBusinessReimbursementEntity);
}
